package com.example.gaoyang.domain.request;

import com.example.gaoyang.domain.vo.SysElementVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SysElementRequest {
    private Long id;
    private String elementName;
    private Integer elementType;
    private String elementUrl;
    private String elementPermit;
    private Long parentId;
    private Integer sort;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    private String comPath;

    List<SysElementVO> children;

    private Integer pageNum;
    private Integer pageSize;
}
